//
//  YesAlert.m
//  CNR
//
//  Created by Alimjan on 15/2/11.
//  Copyright (c) 2015年 Alimjan. All rights reserved.
//

#import "YesAlert.h"

@implementation YesAlert
@synthesize block;
-(void)awakeFromNib{
    self.layer.masksToBounds = YES;
    self.layer.cornerRadius = 5;
    
}
- (IBAction)onOkClicked:(id)sender {
    [self dismissAlert];
    if (block) {
        block();
    }
}

@end
